package xyz.molzhao.alink.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author Molzhao
 * @Description:
 * @date 2022/2/20 15:31
 */
@Data
@ConfigurationProperties("storage")
@Component
public class StorageClientProperties {
    /**
     * 最大上传文件大小
     */
    private Integer maxUploadSize = 1024 * 1024;

    /**
     * 文件存储客户端配置
     */
    private Map<String, StorageClientDetailProperties> config;
}
